package ch05.ex2_4_1_FlatMapAndFlattenProcessingElementsInNestedCollections

/**
 * Created by caozp-ytcyc2007 on 2017/5/26.
 */

fun main(args: Array<String>) {
    val strings = listOf("abc", "def")
    println(strings.flatMap { it.toList() })
}